import request from '@/request/index.js'

//注册用户管理api
const base = 'base' //http://101.42.107.47:30020文档
const zhpt = 'zhpt' //http://101.42.107.47:30018文档

//获取用户状态
export const getUserStatusApi = (data) => {
    return request({
        url: `/api/${base}/dict/certification/type`,
        method: 'GET',
    })
}

//用户认证信息查询
export const getUserAuthenticationInfoApi = (params) => {
    return request({
        url: `/api/${zhpt}/user/verify/find`,
        method: 'GET',
        params,
    })
}

//用户认证审核
export const userAuthenticationAuditApi = (data) => {
    return request({
        url: `/api/${zhpt}/user/verify/audit`,
        method: 'POST',
        data,
    })
}